﻿using System.Collections.Generic;

namespace footwear
{
    public class CompanyInfoBus
    {
        private readonly CompanyInfoDao _companyInfoDao = new CompanyInfoDao();
        
        public List<CompanyInfo> GetCompanyInfo()
        {
            return _companyInfoDao.GetCompanyInfo();
        }

        public bool AddCompanyInfo(string companyName, string companyPhoneNumber, string companyAddress)
        {
            return _companyInfoDao.AddCompanyInfo(companyName, companyPhoneNumber, companyAddress);
        }
    }
}